<html>

<body>
    <table border=0 cellSpacing=0 cellPadding=0 width="100%">
        <tr>
            <td colspan="6" align="center">销售月报表(按商品汇总){$data["userName"]}</td>
        </tr>
        <tr>
            <td width="12%"><span style='font-size: 13'>月份</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["bizDate"]}</span></td>
            <td width="12%"><span style='font-size: 13'></span></td>
            <td width="15%"><span style='font-size: 13'></span></td>
            <td width="12%"><span style='font-size: 13'>打印时间</span></td>
            <td><span style='font-size: 13'>{$data["printDT"]}</span></td>
        </tr>
        <tr>
            <td width="12%"><span style='font-size: 13'>销售出库金额</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["saleMoney"]}</span></td>
            <td width="12%"><span style='font-size: 13'>退货入库金额</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["rejMoney"]}</span></td>
            <td width="12%"><span style='font-size: 13'>净销售额</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["m"]}</span></td>
        </tr>
        <tr>
            <td width="12%"><span style='font-size: 13'>毛利</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["profit"]}</span></td>
            <td width="12%"><span style='font-size: 13'>毛利率</span></td>
            <td width="15%"><span style='font-size: 13'>{$data["rate"]}</span></td>
            <td width="12%"><span style='font-size: 13'></span></td>
            <td width="15%"><span style='font-size: 13'></span></td>
        </tr>
    </table>
    <br />
    <table border=1 cellSpacing=0 cellPadding=1 width="100%" style="border-collapse: collapse" bordercolor="#333333">
        <tr>
            <td width='120'>
                <div align="center" style='font-size: 13'>商品编码</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>商品名称</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>规格型号</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>销售出库数量</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>单位</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>销售出库金额</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>退回入库数量</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>退回入库金额</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>净销售数量</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>净销售金额</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>毛利</div>
            </td>
            <td>
                <div align="center" style='font-size: 13'>毛利率</div>
            </td>
        </tr>
        <foreach name="data['items']" item="v" key="i">
            <tr>
                <td>
                    <div style='font-size: 13'>{$v["goodsCode"]}</div>
                </td>
                <td>
                    <div style='font-size: 13'>{$v["goodsName"]}</div>
                </td>
                <td>
                    <div style='font-size: 13'>{$v["goodsSpec"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["saleCount"]}</div>
                </td>
                <td>
                    <div style='font-size: 13'>{$v["unitName"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["saleMoney"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["rejCount"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["rejMoney"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["c"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["m"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["profit"]}</div>
                </td>
                <td>
                    <div align="right" style='font-size: 13'>{$v["rate"]}</div>
                </td>
            </tr>
        </foreach>
    </table>
</body>

</html>